﻿namespace Sidvall.Data
{
    public class UpdateItemContext<TField> : CriteriaBase
    {
        #region Public Members

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public DataRowItem<TField> DataRowItem { get; set; }

        #endregion
        #region Constructors

        public UpdateItemContext()
        {
        }
        public UpdateItemContext(string key)
        {
            this.DataRowItem = new DataRowItem<TField>(key);
        }

        #endregion
    }
}
